'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up (queryInterface, Sequelize) {
    const brands = [
      {
        nameZh: '宝马',
        nameEn: 'BMW',
        img: 'https://www.bmw.com/content/dam/bmw/marketBMWCOM/bmw_com/bmw-com-main-content/bmw-com-main-content-article-images/bmw-com-main-content-article-images-2024/bmw-com-main-content-article-images-2024-01-bmw-x1-m-sport-xdrive25i-2024-01-1024x576.jpg',
        descriptionZh: '宝马（BMW）是德国豪华汽车品牌，以其高品质、高性能和创新技术而闻名。宝马汽车以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'BMW is a German luxury car brand known for its high quality, performance, and innovative technology. BMW cars are loved by consumers around the world for their unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        nameZh: '奔驰',
        nameEn: 'Mercedes-Benz',
        img: 'https://www.mercedes-benz.com/content/dam/brandhub/global/images/brandhub/mercedes-benz/mercedes-benz-logo.jpg',
        descriptionZh: '奔驰（Mercedes-Benz）是德国豪华汽车品牌，以其高品质、高性能和创新技术而闻名。奔驰汽车以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Mercedes-Benz is a German luxury car brand known for its high quality, performance, and innovative technology. Mercedes-Benz cars are loved by consumers around the world for their unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        nameZh: '奥迪',
        nameEn: 'Audi',
        img: 'https://www.audi.com/content/dam/brandhub/global/images/brandhub/audi/audi-logo.jpg',
        descriptionZh: '奥迪（Audi）是德国豪华汽车品牌，以其高品质、高性能和创新技术而闻名。奥迪汽车以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Audi is a German luxury car brand known for its high quality, performance, and innovative technology. Audi cars are loved by consumers around the world for their unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      },
      {
        nameZh: '大众',
        nameEn: 'Volkswagen',
        img: 'https://www.volkswagen.com/content/dam/brandhub/global/images/brandhub/volkswagen/volkswagen-logo.jpg',
        descriptionZh: '大众（Volkswagen）是德国豪华汽车品牌，以其高品质、高性能和创新技术而闻名。大众汽车以其独特的设计、卓越的驾驶体验和先进的技术而受到全球消费者的喜爱。',
        descriptionEn: 'Volkswagen is a German luxury car brand known for its high quality, performance, and innovative technology. Volkswagen cars are loved by consumers around the world for their unique design, outstanding driving experience, and advanced technology.',
        createdAt: new Date(),
        updatedAt: new Date(),
      }
    ]
    await queryInterface.bulkInsert('Brands', brands, {});
  },

  async down (queryInterface, Sequelize) {
    await queryInterface.bulkDelete('Brands', null, {});
  }
};
